class CreateActiveJobs < ActiveRecord::Migration
  def self.up
    create_table :active_job do |t|
      t.column :video_id, :integer, :null => false
      t.column :created_at, :datetime, :null => false, :default => 'now'
      t.column :status, :string, :limit => 1, :null => false, :default => 'I'
    end
  end

  def self.down
    drop_table :active_job
  end
end
